package com.vlong.town.entity.goodsType;

import java.io.Serializable;
import java.util.List;

/**
 * @author Assassin
 */
public class GoodsType implements Serializable {

   /**
	* default SerialVersionUID
	*/
	private static final long serialVersionUID = 1L;

	// Fields

	private Long typeId;//主键
	private String typeName;// 类型名称
	private Long typePid;// 父id
	private Integer typeStatus;// 数据状态
	private Integer typeOrder;// 排序
	private Integer typeLevel;// 层级
	private Integer isDel;// 是否删除[1-是 | 0-否]
	private Integer isParent;// 是否是父级[1-是 | 0-否]
	private String typeDesc;//分类描述
	private Long createTime;// 创建时间
	private Long updateTime;// 修改时间
	
	// Extends Field
	private List<GoodsType> subList;// 菜单子集列表
	
	// Empty Constructor
	public GoodsType() {
		super();
	}

	@Override
	public String toString() {
		return "GoodsType [typeId=" + typeId + ", typeName=" + typeName + ", typePid=" + typePid + ", typeStatus="
				+ typeStatus + ", typeOrder=" + typeOrder + ", typeLevel=" + typeLevel + ", isDel=" + isDel
				+ ", isParent=" + isParent + ", typeDesc=" + typeDesc + ", createTime=" + createTime + ", updateTime="
				+ updateTime + ", subList=" + subList + "]";
	}

	public GoodsType(Long typeId, String typeName, Long typePid, Integer typeStatus, Integer typeOrder,
			Integer typeLevel, Integer isDel, Integer isParent, String typeDesc, Long createTime, Long updateTime,
			List<GoodsType> subList) {
		super();
		this.typeId = typeId;
		this.typeName = typeName;
		this.typePid = typePid;
		this.typeStatus = typeStatus;
		this.typeOrder = typeOrder;
		this.typeLevel = typeLevel;
		this.isDel = isDel;
		this.isParent = isParent;
		this.typeDesc = typeDesc;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.subList = subList;
	}


	public List<GoodsType> getSubList() {
		return subList;
	}

	public void setSubList(List<GoodsType> subList) {
		this.subList = subList;
	}

	public Long getTypeId () {
		return this.typeId;
	}
	
	public String getTypeDesc() {
		return typeDesc;
	}

	public void setTypeDesc(String typeDesc) {
		this.typeDesc = typeDesc;
	}

	public void setTypeId (Long typeId) {
		this.typeId =  typeId;
	}
	
	public String getTypeName () {
		return this.typeName;
	}
	
	public void setTypeName (String typeName) {
		this.typeName =  typeName;
	}
	
	public Long getTypePid () {
		return this.typePid;
	}
	
	public void setTypePid (Long typePid) {
		this.typePid =  typePid;
	}
	
	public Integer getTypeStatus () {
		return this.typeStatus;
	}
	
	public void setTypeStatus (Integer typeStatus) {
		this.typeStatus =  typeStatus;
	}
	
	public Integer getTypeOrder () {
		return this.typeOrder;
	}
	
	public void setTypeOrder (Integer typeOrder) {
		this.typeOrder =  typeOrder;
	}
	
	public Integer getTypeLevel () {
		return this.typeLevel;
	}
	
	public void setTypeLevel (Integer typeLevel) {
		this.typeLevel =  typeLevel;
	}
	
	public Integer getIsDel () {
		return this.isDel;
	}
	
	public void setIsDel (Integer isDel) {
		this.isDel =  isDel;
	}
	
	public Integer getIsParent () {
		return this.isParent;
	}
	
	public void setIsParent (Integer isParent) {
		this.isParent =  isParent;
	}
	
	public Long getCreateTime () {
		return this.createTime;
	}
	
	public void setCreateTime (Long createTime) {
		this.createTime =  createTime;
	}
	
	public Long getUpdateTime () {
		return this.updateTime;
	}
	
	public void setUpdateTime (Long updateTime) {
		this.updateTime =  updateTime;
	}


	
	
}